package View;

import javax.swing.JPanel;

@SuppressWarnings("serial")
public class PanelHolder extends JPanel{
	
	private static PanelHolder single;
	

	private PanelHolder() {
		
		setLayout(null);
		
		add(PanelMenuBar.getInstance());
	}
	
	public static PanelHolder getInstance() {
		if(single == null){
			single = new PanelHolder();
		}
		return single;
	}
	
	public static void selfDestroy() {
		single = null;
	}
}
